﻿@model SweetSurvey.Models.ViewModels.ResultsViewModel

@{
    Layout = "~/Views/Shared/_StandardLayout.cshtml";
}

<button class="backToList">Back to List</button>

<h2>@ViewBag.SurveyTitle [Report]</h2>
@{Html.RenderPartial("SurveyReport", Model);}

<button class="backToList">Back to List</button>

<script type="text/javascript">
    $(function () {
        $('.backToList')
            .button({ icons: { primary: 'ui-icon-arrowreturnthick-1-w'} })
            .css('font-size', '0.8em').css('font-weight', 'normal')
            .click(function () { window.location = '@Url.Action("MySurveys", "Home")'; });
    });
</script>

